package com.lanou3g.bbs.entity;

import org.springframework.format.annotation.DateTimeFormat;

public class User {
    private String id;
    private String name;
    private String pwd;
    private String head;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String regtime;
    private String gender;
    private String roleid;

    public String getRoleid() {
        return roleid;
    }

    public User setRoleid(String roleid) {
        this.roleid = roleid;
        return this;
    }

    public String getId() {
        return id;
    }

    public User setId(String id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public User setName(String name) {
        this.name = name;
        return this;
    }

    public String getPwd() {
        return pwd;
    }

    public User setPwd(String pwd) {
        this.pwd = pwd;
        return this;
    }

    public String getHead() {
        return head;
    }

    public User setHead(String head) {
        this.head = head;
        return this;
    }

    public String getRegtime() {
        return regtime;
    }

    public User setRegtime(String regtime) {
        this.regtime = regtime;
        return this;
    }

    public String getGender() {
        return gender;
    }

    public User setGender(String gender) {
        this.gender = gender;
        return this;
    }
}
